<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="mainCodeLabel" required="true"%>
<%@ attribute name="secondCodeLabel" required="true"%>
<%@ attribute name="productId" required="true"%>
<%@ attribute name="productSpecMajors" required="true" type="java.util.List"%>
<p class="pdtype-main"><strong>${mainCodeLabel}：</strong><em id="msem1"></em><br />	
<c-rt:forEach items="${productSpecMajors}" var="specMajor" varStatus="status"><a class="pd-type" href="javascript:;" onclick="selectProdMainSpec('${specMajor.mainSpecId}');" id="ms_${specMajor.mainSpecId}" title="${specMajor.mainSpecName}"><img src="${specMajor.imgIcon}" onError="this.src='${imgDomain}/PImg/40x40.gif'" width="40" height="40" />${specMajor.mainSpecName}</a><c-rt:if test="${specMajor.isCover eq 'Y'}"><input type="hidden" value="${specMajor.mainSpecId}" id="cover_id"></c-rt:if></c-rt:forEach>
</p>
<p><strong>${secondCodeLabel}：</strong><em id="ssem1"></em><br />
	<div id="secSpecArea"></div>
</p>
<p><strong>已选择：</strong><span id="msem2"><em>未选择</em></span><span id="ssem2"></span></p>
<input type="hidden" id="mspec" value=""/>
<input type="hidden" id="sspec" value=""/>